<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:url value="/" var="racine" />
<c:url value='/j_spring_security_check' var="springSecurity" />
<form action="${springSecurity }" method="post" id="loginForm">
	<h1>Connectez-vous</h1>
	<table class="centre" cellspacing="5">
		<tr>
			<th rowspan="3" align="center"><img alt="user"
				src="${racine}img/user.png" /></th>
			<td>Identifiant</td>
			<td><input type="text" name="j_username" id="j_username" /></td>
		</tr>
		<tr>
			<td>Mot de passe</td>
			<td><input type="password" name="j_password" id="j_password" />
			</td>
		</tr>
		<tr>
			<td></td>
			<td align="center"><input type="submit" value="Se connecter" />
			</td>
		</tr>
		<c:if test="${not empty requestScope['erreurLogin'] }">
			<tr>
				<td colspan="3"><p class="rouge " id="erreur_identification">${requestScope['erreurLogin']}</p>
				</td>
			</tr>
		</c:if>
	</table>
</form>